//
//  STCommentCell.h
//  YiYueHairdresser
//
//  Created by zhouzhouzhou on 2018/10/11.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import "STBaseTableViewCell.h"
#import "SHChangeSizeScrollView.h"
#import "STShowColListView.h"

@class STCommentCell;
@protocol STCommentCellDelegate<NSObject>
@optional
-(void)commentCell:(STCommentCell *)cell replayCommentText:(NSString *)replayStr;
-(void)commentCell:(STCommentCell *)cell selImgNum:(int)selNum;

@end


@interface STCommentCell : STBaseTableViewCell<UITextViewDelegate,SHChangeSizeScrollViewDelegate>{
//    SHChangeSizeScrollView *showHairColView;
    STShowColListView * proCollectionView;
    STCommentInfoModel * commentModel;

}
@property (weak, nonatomic) IBOutlet UIImageView *headImg;
@property (weak, nonatomic) IBOutlet UILabel *nameLab;
@property (weak, nonatomic) IBOutlet UIView *starBackView;
@property (weak, nonatomic) IBOutlet UILabel *timerLab;
@property (weak, nonatomic) IBOutlet UILabel *serNameLab;
@property (weak, nonatomic) IBOutlet UIView *imgBackView;
@property (weak, nonatomic) IBOutlet UILabel *commentLab;
@property (weak, nonatomic) IBOutlet UIView *replyBackView;
@property (weak, nonatomic) IBOutlet UITextView *replayText;
@property (weak, nonatomic) IBOutlet UILabel *backLab;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *imgHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *nameLeft;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *tiemrRight;
@property (weak, nonatomic) IBOutlet UIView *lineView;


@property (assign, nonatomic)int isOrderCommon;
@property(weak ,nonatomic)id<STCommentCellDelegate> delegate;
-(void)setCommentWithData:(id)commentDic;

@end
